import { request } from '@/utils'
export function autoLogin(params) {
  return request({
    url: `feishu/autoLogin`,
    method: 'post',
    params,
  })
}
export function login(data) {
  return request({
    url: `feishu/login`,
    method: 'post',
    data,
  })
}

export function syncUser(params) {
  return request({
    url: `feishu/user`,
    method: 'get',
    params,
    timeout: 30000,
  })
}
